<form method="post" action="" id="t_shopForm" enctype="multipart/form-data">
<table align="center" class="table2">
	<tr><td colspan='3'>
	{$error}
	</td></tr>
	<tr>
		<th align="right">
			用户名:
		</th>
		<td>
			<input type="text" id="txt_user_name" name="txt_user_name" />
		</td>
		<td>
			<div id="txt_user_name_tip"></div>
		</td>
	</tr>
	<tr>
		<th align="right" width="90px">
			商户全称:
		</th>
		<td width="340px">
			<input style="width:250px;" type="text" id="txt_shop_name" name="txt_shop_name" />
		</td>
		<td>
			<div id="txt_shop_name_tip"></div>
		</td>
	</tr>
	<tr>
		<th align="right">
			商户简称:
		</th>
		<td>
			<input style="width:250px;" type="text" id="txt_shop_simple_name" name="txt_shop_simple_name" />
		</td>
		<td>
			<div id="txt_shop_simple_name_tip"></div>
		</td>
	</tr>
	<!--<tr>
		<th align="right">
			银行结算账号:
		</th>
		<td>
			<input type="text" id="txt_back_account" name="txt_back_account" />
		</td>
		<td>
			<div id="txt_back_account_tip"></div>
		</td>
	</tr>
	--><tr>
		<th align="right">
			联系人:
		</th>
		<td>
			<input type="text" id="txt_contact" name="txt_contact" />
		</td>
		<td>
			<div id="txt_contact_tip"></div>
		</td>
	</tr>
	<tr>
		<th align="right">
			联系电话:
		</th>
		<td>
			<input type="text" id="txt_phone" name="txt_phone" />
		</td>
		<td>
			<div id="txt_phone_tip"></div>
		</td>
	</tr>
	<tr>
		<th align="right">
			联系地址:
		</th>
		<td>
			<input type="text" style="width:250px;" id="txt_address" name="txt_address" />
		</td>
		<td>
			
		</td>
	</tr>
	
	<tr>
		<th align="right">
			常用邮箱:
		</th>
		<td>
			<input type="text" id="txt_mail" name="txt_mail" />
		</td>
		<td>
			<div id="txt_mail_tip"></div>
		</td>
	</tr>
	<tr>
		<th align="right">
			qq:
		</th>
		<td>
			<input type="text" id="txt_qq" name="txt_qq" />
		</td>
		<td>
			<div id="txt_qq_tip"></div>
		</td>
	</tr>
	<tr>
		<th align="right">
			服务社区:
		</th>
		<td>
			<select style="width:100px;" name="sel_province" id="sel_province">
	        </select>
         	<select style="width:100px;" name="sel_city" id="sel_city">
              	<option value="">市</option>
          	</select>
            <select style="width:100px;" name="sel_area" id="sel_area">
                <option value="">区/县</option>
            </select> 
        	<div id="divCommunity" style="margin:5px;"></div>
        	<table><tr><td width="60px">已选社区：</td><td><div id="selCommunityName"></div></td></tr></table>
        	<input type="hidden" value="" id="hidSelCommunityID" name="hidSelCommunityID" />
		</td>
		<td>
			<div id="txt_community_id_tip"></div>
		</td>
	</tr>
	<tr>
		<th align="right">
			经营内容:
		</th>
		<td>
			<input type="text" id="txt_bus_content" name="txt_bus_content" />
		</td>
		<td>
			<div id="txt_bus_content_tip"></div>
		</td>
	</tr>
	<tr>
		<th align="right">
			商家介绍:
		</th>
		<td colspan="2">
			<textarea  id="txt_content" name="txt_content"  rows="20" cols="90"></textarea>
		</td>
	</tr>
	<tr>
		<th align="right">
			经营执照:
		</th>
		<td>
			<input type="file" name="fileImg" id="fileImg"  onchange="changeSrc('fileImg','t_shopForm','hidImgPath','imgContent','shop')"></input><br />
			图片限制格式gif,jpg/jpeg,png;大小限制500kb<br />
			<img id="imgContent" src="{$imgDomain}images/kongbai.jpg" />
			<input type="hidden" id="hidImgPath" name="hidImgPath" value="" />
			<div id="frameDiv" style="display:none;"></div>
		</td>
		<td>
			<div id="txt_bus_content_tip"></div>
		</td>
	</tr>
	<tr>
		<th></th>
		<td colspan="2">
		<div style="margin-right:10px;" class="left"><a class="buttonStyle" onclick="{literal}if($.formValidator.pageIsValid()){editor.sync();document.getElementById('t_shopForm').submit();}{/literal}"><span></span>添加</a></div>
    	<div class="left"><a class="buttonStyle" href="{$manageDomain}shopManage/show/"><span></span>返回</a></div>
		</td>
	</tr>
</table>
</form>
